import os


os.system("gnome-terminal -e 'ping 192.168.0.1 -i 0.5'")

os.popen("gnome-terminal -e 'bash -c \"cd /home/zhutao/linux-80211n-csitool-supplementary/netlink && sudo ./log_to_file test8.dat; exec bash\"'")